package com.wg.dome.operation;

import com.wg.core.annotation.DataMember;
import com.wg.net.rpc.AbstractDataContract;

/**
 *  购买商品响应
 */
public class BuyGoodsResponse extends AbstractDataContract {

    /**
     * 金钱
     */
    @DataMember(code = 1)
    private long money;

    /**
     * 道具id
     */
    @DataMember(code = 2)
    private int goodsId;

    /**
     * 数量
     */
    @DataMember(code = 3)
    private int count;

    public long getMoney() {
        return money;
    }

    public void setMoney(long money) {
        this.money = money;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }
}
